package com.dubbo.provider.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.dubbo.provider.service.ProviderService;
import org.springframework.stereotype.Component;

@Service // alibaba 暴露服务
@Component // 注册到spring ioc
public class ProviderServiceImpl implements ProviderService {
    @Override
    public String test() {
        return "hello world";
    }
}
